package com.example.util;

/**
 * @Author: shenmengwei
 * @Description:
 * @Date: Created on 2018/5/31 15:37
 * @Modified By:
 */
public class PageResult<T> {

    private int total;

    private T data;

    public PageResult(){

    }
    public PageResult(int total, T data) {
        this.total = total;
        this.data = data;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
